package com.think.teaching.mapper;

import com.think.teaching.model.QuestionSelection;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 选择题选项 Mapper 接口
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface QuestionSelectionMapper extends BaseMapper<QuestionSelection> {

	@Select("SELECT content FROM question_selection WHERE question_id=#{id} AND delflag=0")
	List<String> getQuestionSelections(Integer id);
}
